// samsting : this file is auto create.

#include "Emr/2015-09-10/ListClustersRequest.h"

namespace aliyun { namespace Emr {

ListClustersRequest::ListClustersRequest() : RpcAcsRequest("Emr", "2015-09-10", "ListClusters") {
}

const string& ListClustersRequest::GetClusterType(void) const {
  return ClusterType_;
}
void ListClustersRequest::SetClusterType(const string& ClusterType) {
  ClusterType_ = ClusterType;
  PutQueryParameter("ClusterType", ClusterType_);
}

const string& ListClustersRequest::GetPayType(void) const {
  return PayType_;
}
void ListClustersRequest::SetPayType(const string& PayType) {
  PayType_ = PayType;
  PutQueryParameter("PayType", PayType_);
}

const string& ListClustersRequest::GetStatus(void) const {
  return Status_;
}
void ListClustersRequest::SetStatus(const string& Status) {
  Status_ = Status;
  PutQueryParameter("Status", Status_);
}

bool ListClustersRequest::GetIsDesc(void) const {
  return IsDesc_;
}
void ListClustersRequest::SetIsDesc(bool IsDesc) {
  IsDesc_ = IsDesc;
  PutQueryParameter("IsDesc", string_ValueOfBool(IsDesc_));
}

int ListClustersRequest::GetPageNumber(void) const {
  return PageNumber_;
}
bool ListClustersRequest::SetPageNumber(int PageNumber) {
  if(PageNumber < 1) {
    return false;
  }
  PageNumber_ = PageNumber;
  PutQueryParameter("PageNumber", string_ValueOfInt(PageNumber_));
  return true;
}

int ListClustersRequest::GetPageSize(void) const {
  return PageSize_;
}
bool ListClustersRequest::SetPageSize(int PageSize) {
  if(PageSize < 1) {
    return false;
  }
  if(PageSize > 500) {
    return false;
  }
  PageSize_ = PageSize;
  PutQueryParameter("PageSize", string_ValueOfInt(PageSize_));
  return true;
}


} } // namespace aliyun { namespace Emr {

// end of file 
